<template>
  <!--ASN明细-->
  <div id="AsnDetails">
    <v-details
      :detailData="data.detailData"
      :inputConfig="inputConfig"
      :rules="rules"
    ></v-details>
  </div>
</template>

<script>
import details from "commons/Detail";
import baseMixin from "@/mixins/BaseMixin";

export default {
  name: "AsnDetails",
  mixins: [baseMixin],
  props: {
    data: {
      type: Object,
    },
  },
  data() {
    return {
      rules: {},
    };
  },
  computed: {
    inputConfig() {
      return [
        [
          {
            type: "input",
            label: this.$t('manage.bomkey'),
            props: "bomkey",
            disabled: true,
          },
          {
            type: "input",
            label: this.$t('manage.rtx_level'),
            props: "rtx_level",
            disabled: true,
          },
        ],
        [
          {
            type: "input",
            label: this.$t('manage.rtx_scandevicechildnum'),
            props: "childnum",
            disabled: true,
          },
          {
            type: "input",
            label: this.$t('manage.childname'),
            props: "childname",
            disabled: true,
          },
        ],
      ];
    },
  },
  methods: {},
  mounted() {},
  watch: {},
  components: {
    "v-details": details,
  },
};
</script>

<style scoped></style>
